package com.boy.rpc.framework.console.service;



import com.boy.rpc.framework.console.bean.Pagination;
import com.boy.rpc.framework.console.bean.RKey;
import com.boy.rpc.framework.console.utils.ztree.ZNode;

import java.util.Set;

/**
 * 页面操作需要的服务
 * @author wesley
 *
 */
public interface ViewService {

	Set<ZNode> getLeftTree();

	Set<RKey> getRedisKeys(Pagination pagination, String serverName, String dbIndex,
						   String[] keyPrefixs, String queryKey, String queryValue);

	Set<ZNode> refresh();

	void changeRefreshMode(String mode);

	void changeShowType(String state);

	void refreshAllKeys();

}
